Making Schedular more robust by using some synchronizations