Handle synchronous exceptions better