Added code to check whether wayland get ready before running Web Runtime