Fixed name
Correctly close connection.

As keeping the streams usage of before made the connection remain active till the GC acted open the objects this closes correctly the connection as soon as all data has been transfered.
Reworked option gathering from Yahoo!.