JBTM-1945 do not attempt to call receive while the connection is stopped