RFXCom: Socat gets killed all the time with Openhab 2.5.1

Hi there,

I’m using the RFXCom binding with a remote tranceiver. It was working fine until I upgraded to Openhab 2.5.1.

I’m starting socat with:

 sudo socat -ls -d -d FILE:/dev/ttyUSB0,b38400,raw,echo=0,ignoreeof TCP-LISTEN:10001,reuseaddr

on a remote Pi, the RFX433TRX is connected via USB.

After a while it exists though:

2020/02/08 16:38:53 socat[29418] N opening character device "/dev/ttyUSB0" for reading and writing
2020/02/08 16:38:53 socat[29418] N listening on AF=2 0.0.0.0:10001
2020/02/08 16:39:34 socat[29418] N accepting connection from AF=2 192.168.1.25:33144 on AF=2 192.168.1.30:10001
2020/02/08 16:39:34 socat[29418] N starting data transfer loop with FDs [5,5] and [7,7]
2020/02/08 16:41:33 socat[29418] N socket 2 (fd 7) is at EOF
2020/02/08 16:41:33 socat[29418] N exiting with status 0

does anyone know how to fix this?