use configured value for awaitTermination
Merge pull request #47 from NitorCreations/configurable-await-termination

use configured value for awaitTermination