STREAM-414: fixed memory leak in python reactor with event.getlist()