Improvement to create tasks over XHR