Hello, I really hope someone can help me with this. It is driving me nuts!

I have a website with multiple pages. Each page contains a JApplet. Each JApplet will produce midi sounds, so in each applet I call the following code snippet so it will play the sounds:

Java Code:
soundbank = MidiSystem.getSoundbank(new URL("http://localhost/soundbankSmall.gm"));
This works fine on the first couple times I load a new page (or refresh the same page). I have tested this multiple times and each time I get an error message on the 6th page that says 'javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream'. This error message will continue with each page you go to. Midi audio will still play with this message, but after the 17th page (every time) the audio stops. Any ideas?