Create a singleton asynctaskexecutor

asynctaskexecutor to perfrom common checks before executing the task.