fix #1: address right device (thanks dejanpojbic)
check sid (may timeout)