Changes Pool to handle 'error' events and dispose connection