5923-fix-leaking-go-routine

use buffered channel so goroutine does not get blocked on done <- true when a timeout occurs.

should fix issue https://github.com/dotcloud/docker/issues/5923