Test send interval after every select call, rather than relying on timeouts, so that reads don't surppess heartbeats.
Merge pull request #19 from jimpurbrick/master

Test send interval after every select call, rather than relying on timeo...