ACE-532 - some cleanups and minor improvements: - make sure that all URLConnections are properly closed in the integration tests; - use a default wait time for URLs to be available (or not); - this closes #9.