As documented in github issue https://github.com/inspectIT/inspectIT/issues/251, the UI freezes while an agent is deleted. This could happen according to the amount of data that is stored in the DB for this agent. The more it is, the longer it takes. We should change this to be asynchronously with some information popup.
Fixed in INSPECTIT-2457.