Feature/graceful quit

Wait for termination until postQueue is empty up to 30 seconds.
Every submitting value to `exitCh` (`exitCh <-`) seems immediately followed by `return`, so can't we replace `exitCh<- ...; return` to direct `return`?