getting timeouts working