Implemented the wrapper for ScheduledExecutorService