Deadlock is fixed. Change QMutex to QReadWriteLock. To add info of running.