Fix critical issue in connection fail (exception on worker)