But my PostgreSQL Server reports that a connection is still in use ... only when i quit the hole programm my servers doen`t show this connection any more.
It is because of connection pooling functionality which is ON by default. Such behavior is standard for ADO.NET data providers. If you do not need connection pooling you can add ";pooling=false" option to connection string.