removed socket timeout, improved debug out