Added scheduled restart and improved multithreading for play restart