map some exceptions to {error, closed}