Close application if not daemon and PyQt not found