multilevel queue scheduler and wait working