Restart rabbitmq first and wait before returning

Restart rabbitmq before the other services and sleep for
5 seconds before continuing to give them time to restart.