try:
                            current_exploit.socket_server_lock.release()
                            current_exploit.socket.shutdown(socket.SHUT_RDWR)
                            current_exploit.socket.close()