prevent music thread from restarting