Removed unnecessary sleep from send listener

So now it works
Also changed critial section loging