respect offline flag when forking