added 30 second timeout for SSH and SCP connect