Fixed callback on postgres client.close() method.