optimize loading ical

use buffered streams
close connection