Fix for thundering herd on server restart

A minor fix - add a sleep for random amount of time to prevent thundering herd.