Added timeout to cuhd_recv