add a constructor to allow periodically cleanup idle connections
Merge pull request #43 from box/monitor

add a constructor to allow periodically cleanup idle connections