Fixed error handling in AsyncExecutor's GWT emulation

Closes  #1132