Close the current HTTP transaction and disable its HTTP events. This function can only be used in event HTTP_REQUEST.