Fix macros usage for blocking connections