Correct Error Close connection