Block current thread

Block current thread until UI thread finished decoding stream