Add a sleep to try and prevent multiple instances existing on a restart.