Wait for cjdns to shutdown. It wasn't shutting down right away so restart was failing