added test case
Do not flush queue if the socket is unavailable.
Merge branch 'hotfix/issue-10-fix-write-of-null'
bump version