Fixes #1. Handle rejections coming from external domains.