fix wrong end time

All case streams and input stream should complete before the end event is called
bump 0.1.1