Reduce number of calls for timer() if server->active_connections == NULL
Merge pull request #1 from pavel-pimenov/fix-timer-call

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