Memory leak? You mean if the thread isn't shut down? If so, then the current solution is just as flawed. But yes, a ScheduledThreadPool is fine by me.