Rename MAX_DELAY to TIMEOUT

It is possible to set a timeout when the program will exit if it has not
already done so. This is called max-delay, which is actually wrong since
it's not a delay at all. It's a timeout and should be called a timeout.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>