Re-create database session when fail

MySQL suddenly close connection and I don't know why.
Catch NoAnswerError on streaming