Remove the matched item from the $tempQueue list.

Removes the matched item from the list to properly dequeue a job. Addresses issue #218.