Added a sleep after attempting to switch prayers