Wrap request_task in a try statement

And remove useless outer 'try'