Situations may occasionally cause the networks server to believe that you are still online. The nickname representing your previous connection is referred to as a ghost.A ghost is a connection that does not really exist anymore. The server just doesn't know it yet. So no, there really isnt anything you can do about it.
If your network has the commands, if sometimes the ghost command doesnt work, try the recover and release commands.