Added timeout=False to long cursorwq