changed the RejectedExectionDemo code.