added 10 second timeout to _wait_until_up