Removed scheduler class as it is no longer required - this also fixes leak
when using mono.