Reduce number of calls for timer() if server->active_connections == NULL