Improve resource management for minijail_run_internal am: 6123e5aea6 am: 505ac7d1f1

Change-Id: If68a780b3d4e0340f3b22b49effd12a6f4d45d32