Improved output connection check in backend