Toggle drain status from config var
Fix time sent as millis since epoch, not seconds