Remove potential memory leaks.

Add invalidate method for UITableViewCotroller with Madnet cell.