Dispose of db connection in status.