Moves reject() and resolve() out of the try/catch

because catching later errors is off-topic
refs #200 Add tests