changed ajax request to fail on timeout
less exposed stuff