.quit() after timeout