fix minor bugs
set HTTP timeout
disable auto-restart
add ping