fixed deadlock in spraytimekeepschedule.cpp