fix(linux): Don't start ibus-daemon multiple times
fix(linux): Don't start ibus-daemon multiple times

This change adds a 1s sleep after restarting ibus before checking
that it actually runs. Hopefully this will solve the problem. Since
this bug is hard to reproduce, we also log a critical error for the
other code path this could happen.

Fixes #6237.

tavultesoft/keymanweb,tavultesoft/keymanweb