Returning a response from host with .err forces client to reject promise