       false ->
         Logger.info("esme #{self}, bind failed with status #{Pdu.command_status(pdu)}, stopping")
         Session.stop(st.session)
+        {:reply, :ok, st}
     end
   end
 

      {:stop, reason} ->
        Logger.info("esme #{self}, being stopped by timers(#{reason})")
        Session.stop(st.session)
      {:enquire_link, new_timers} ->
        new_st = %ESME{ timers: new_timers, time: time }
        do_send_enquire_link(new_st)


  def handle_pdu(session, {:pdu, pdu}) do
    :ok = ESME.handle_pdu(session.esme, pdu)
  end

  def handle_socket_closed(session) do
