Added ping timeout reconnect

Added plugin enable/disable functionality