fix to clear queue when receiving a new job to print