Fix memory leak in cleanup task
Merge pull request #117 from pimterry/cleanupleakfix

Fix memory leak in idle connection monitor