Use exec instead of leaving a waiting ruby process

Change-Id: Ia9c190b96803a6950d895e99a2546879329e1f35