Switched to use daemon thread in executor and fixed a bug in job cancellation for fair scheduler.