add interval as an option

When I set an interval of 3s, the connection stays open, otherwise it closes and reconnect all the time...
Do you/Does anyone know how to solve this, besides replying with a "comment" every < 3s?