No errors thrown by asynchronous functions

This tackles issue #167.