[be-script] check if VM is still running after giving it shutdown and wait max 10 secs

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>