fixed non-blocking mode
Don't log internal elog messoges (writing to stderr)
Merge pull request #23 from mdevaev/master

Fixed non-blocking mode