Fix Crash on assertion failures

Also: Allow infinite timeouts