fixing use of SimpleQueue on python3.4