removing wait in worker thread causing thread limit to be exceeded on rapid reconnections