System and method for closing a tank opening