Create a new session and task at once