Make sure the done() callback is invoked when processing server:restart.