add 1 sec timeout (partially fix)