Removed a minor bug @RMCTask, TODO: Shutdownhook needed!