Cleans up sign daemon and adds a mock connection.