Define POW/POS Switch Time and cleanup