Update AbstractIrpQueue.java

added synchronized blocks to thread control