Can now end bot (kinda) properly.