added capture_one_image_stream function
more specifc import of cothread and catools