rapid7/metasploit-framework — pull request #947 by jlee-r7 (2012-10-22 19:22:24+00:00)
Title: 08-067: Rescue when the service is crashed

Failed exploit attempts leave the service in a state where the port is
still open but login attmempts reset the connection. Rescue that and
give the user an indication of what's going on.