To get thrown in jail you must be seen with out the 'silencer', before you escaped successfully for example. Not sure if there are other ways.