scripts: set timeout when waiting for qemu monitor connection