Changed execute calls to submit call and made the executeTask function return a Future object