Refactored, but connection refuse exception...