Update used Go version from 1.2.1 to 1.4.
Drain collector channel when returning prematurely.