Make fetch-remove in EventQueue atomic