I can confirm that this hack is working. It is possible to switch off/on bluetooth and profit of suspend mode. My headset can connect without problems after toggling off/on bluetooth with your scripts. I might have an idea for a systemd service including a desktop launcher. Give me some time to work it out over the weekend...