Increase timeout and explicitly close socket in event session message tests