prevent dead lock when multiple threads want to remove the same proxy server
fix encoding problem when sending alert by email