Catching some of the exceptions

Async exceptions (like out of memory) is not being catched
Is that because the async exceptions are masked?
Still does not fix #8