threaded rate controller in java with python driver...rate control is working