added delay on restart
added TEST=1 to example to verify that it will pass through
Release 0.4.0