paho settings cleanup