Perhaps this is a good chance to make this configurable as a system property? Same for the 10 secs wait time.