Too many debug prints in the log when using non-blocking mode, fixes #96