def teardown_request(exception: Any) -> None: close_connection()
def teardown_request(_exception: Optional[Exception]) -> None: close_connection()