Use play plugin to handle restart correctly