- Made sure the timeout sleeping thread is interrupted when everything is ok;
- Added some info messages useful for debugging.