More graceful stop for testing daemon

Fixes problem with TestDaemonAllocatesListeningPort

The actual problem that containers which failing to start before even process creation - spawns attach goroutine, which hangs forever. And daemon on shutdown wait for 5 seconds before die gracefully(and our testing daemon just hit 4 times retries limit and kill daemon with -9). I'll post issue about this.