Merge "Limit the number of times app_profiler.py tries to kill an app process." am: bdac23b00c am: a3a7be3d46 am: ca2fb0bce9

Original change: https://android-review.googlesource.com/c/platform/system/extras/+/1814900

Change-Id: Id55aace482dc3cea99cd461710d6cba8824bf71f