Make "prepared" signal handling more robust

2 jobs for robust-prepared-handler in 11 minutes and 34 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Test
passed flatpak #1400438
flatpak

00:11:34

passed rustfmt #1400439

00:00:54