handling error
shutdown when idle for 30 seconds
fix