Convert WAIT_TIMEOUT to float, in case it is set by the environment.