Wrap XMLHttpRequest for command scheduler in try/catch statement

to prevent potential errors in old browsers