Bug fix - /proc should be mounted if it's not mounted already.

In addition, processes running inside a sandbox should be terminated before contain exits.