<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def disconnect(self):
 """ Disconnect from target. """

        if not self.connected:
            return

        self.writer.close()
        self.reader = None
        self.writer = None