wait some time for docker to exit