Added ThreadFactory capabilities to the Queue!
Fixed Inputstream resource leak issue	.