don't hang if there are problems while authentication

Signed-off-by: Lehner Florian <dev@der-flo.net>
add ability to sync only selected server

Signed-off-by: Lehner Florian <dev@der-flo.net>