[background] add an option for background to wait for the termination of all processes (#80)
[background] add an option for background to wait for the termination of all processes (#80)

* [background] add an option for background to wait for the termination of all processes

* [background] remove redundant go wrapper function

* [background] remove the redundant code

bitmark-inc/bitmarkd,bitmark-inc/bitmarkd