test_rosbag: fix random_record to SIGINT hierarchy of subprocesses correctly, fix random_play to handling failing invocation of 'rosbag play' and not hang indefinitely