Fix to preent opening twice(or more) same ssh command
1- Added a sleep to prevent tmux to use old bash command
2- Removed echo to file (rc) to run a new batch by putting directly the command
Reverted the way to launch bash, else it is not interactive
Letting the sleep, so it have time to launch before file is overwrited
Type error fix
Merge pull request #1 from mmimeault/master

Added sleep to prevent run duplicates command