added basic timeout to return home after timeout