use buffered channel so goroutine does not get blocked on done <- true when a timeout occurs.

Docker-DCO-1.1-Signed-off-by: Anandkumar Patel <anandkumarpatel@gmail.com> (github: anandkumarpatel)