tweaked socket timeout, added color