Optimise the process of cgminer-status