This function lets you clear the list of ConnectionEvent's of the given connection.
a Connection object.