check stream open error