add support for multi threaded access to Picam
 access to picamera are synchronized