Switched to a supervisor model for running processes in the container instead of add-hoc approach.