Set timeouts on ws calls

...or on ajax requests via the usual timeout.