* fixed a bug which was leaving the queue in running state