Make wait or skip when another instance is running as a config entry. At the moment, we do it by adding '-w'; however, this some time cause problem when a terminal is not show.