Fix idle connection monitoring
Merge pull request #116 from pimterry/connectionmonitorfix

Fix idle connection monitoring