Catch timeout errors
Fix camera power cmd; add test function