Catch all throwables in write op and produce a failed future