Trying to fix rare exception (receiving was not finished sooner then disconnect)