Deal with server execution inside the task