Use static VM ID if available for capture. Add a delay in RGP trace finish to help RGP server to complete file operations. Change-Id: Id0dab2fe4398ac2df79f25608fdd06b1f84e7fe0