added wait for process to end for repose container launcher