Don't emit uncatchable internal promises

Fixes #69