remote capture - make hook timeout adjustable with set_remotecap_timeout(), clear data available on hook timeout, +some cleanup