fix for timeout error, timeout wasn't set if parameter not fed

the DEFAULT_TIMEOUT was ignored. fixed it.