Remove try...catch from SessionHandler::write