checking busy signal outside process function