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

Turns out that the done() callback is essential or restart hangs.