sleeping after relay status changing