make prepare/4 with timeout, fix client:query -spec