Revert "#461 #158 Removed ScheduledExecutorService"

This reverts commit 72119e3472dec815c5f10437b19e90704fb51587.