fix hanging in edge case when spawning iomux-spawn

Signed-off-by: Alex Suraci <asuraci@pivotallabs.com>