added streamreader ready check