Remove an existing socket on startup

code review plx