Handle more specific BindException and IOException