checks conn every N seconds