def restart(self):
delay = (self.last_restart - time.time()) + self.restart_interval<EOL>if delay > <NUM_LIT:0>:<EOL><INDENT>time.sleep(delay)<EOL><DEDENT>self.control.restart()<EOL>self.last_restart = time.time()<EOL>self.restart_required = False<EOL>
Tells the HAProxy control object to restart the process.

If it's been fewer than `restart_interval` seconds since the previous
restart, it will wait until the interval has passed.  This staves off
situations where the process is constantly restarting, as it is
possible to drop packets for a short interval while doing so.