Mix_CloseAudio() takes 2 seconds to complete

Dear SDL list,
the following program takes 2 seconds to run. Is this normal?
//g++ test.cpp -o test.o -lSDL_mixer
#include
#include
#include <SDL/SDL_mixer.h>

int main(){
int audio_rate = 44100;
int audio_buffers = 1024;
Uint16 audio_format = AUDIO_S16SYS;
int audio_channels = 1;
Mix_OpenAudio(audio_rate, audio_format, audio_channels, audio_buffers);

time_t a = time(NULL);
Mix_CloseAudio();
time_t b = time(NULL);
std::cout << difftime(b,a) << " seconds to close" << std::endl;
return 0;
}