Update for Arduino 1.0.1
Add session timeout