add missing locks in internal_subscription.cpp
empty event queue when monitoreditem is deleted,
internal renaming