Working on odataserver and mysql server. Need to fixing close of stream