scheduler should not be dependent on timeoutmanager only