Change the sequence for calling GC colletion method