def create_socket(self, family, type): dispatcher.create_socket(self, family, type) requestCloseOnExec(self.socket)